<template>
  <div class="banklogin">
    <input type="text" v-model="uname" placeholder="邮箱/手机号码/小米ID" />
    <input type="text" v-model="pwd" placeholder="密码" />
    <div class="login" @click="login" >登录</div>
    <div class="details">
      <span class="leftwords">手机短信登录/注册</span>
      <span class="rigthwords">立即注册 | 忘记密码？</span>
    </div>
    <!-- <modal
      :title="'提示'"
      v-show="isShow"
      @submit="goCart"
      @cancel="isShow = false"
      :btnType="2"
    >
      <template v-slot:body>
        <div class="msg">登录成功</div>
      </template>
    </modal> -->
  </div>
</template>

<script>
export default {
data:()=>{
    return{
        uname:"13246814640",
        pwd:"chen1124204374",
    }
},
 methods:{
       login(){
        //    this._axios.POST('http://newshopapi.0melon0.cn/api/login',
        //    {
        //        phone:this.uname,
        //        password:this.pwd,
        //    }
        //    )
       } 
  },
}
</script>

<style lang="scss" scoped>
.banklogin {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: center;
  width: 410px;
  height: 410px;

  input {
    width: 348px;
    height: 50px;
    border: solid 1px #e5e5e5;
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    color: #999999;
  }
  .login {
    font-size: 16px;
    font-weight: bold;
    font-stretch: normal;
    line-height: 50px;
    letter-spacing: 0px;
    color: #ffffff;
    width: 348px;
    height: 50px;
    text-align: center;
    background-color: #ff6600;
  }
  .details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    width: 348px;
    height: 50px;
    font-size: 14px;
    font-weight: bold;
    font-stretch: normal;
    letter-spacing: 0px;
    .leftwords {
      color: #ff6600;
    }
    .rightwords {
      color: #999999;
    }
  }
}
</style>